<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PECL/mysqlnd_ms 1.2 series</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-ms.changes-one-three.html">PECL/mysqlnd_ms 1.3 series</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqlnd-ms.changes-one-one.html">PECL/mysqlnd_ms 1.1 series</a></div>
 <div class="up"><a href="mysqlnd-ms.changes.html">Change History</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysqlnd-ms.changes-one-two" class="section">
  <h2 class="title">PECL/mysqlnd_ms 1.2 series</h2>
  <p class="para">
   1.2.1-beta
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      Release date: 01/2012
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      Motto/theme: see 1.2.0-alpha
     </span>
    </li>
   </ul>
  </p>
  <p class="para">
   Minor test changes.
  </p>
  <p class="para">
   1.2.0-alpha
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      Release date: 11/2011
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      Motto/theme: Global Transaction ID injection and quality-of-service concept
     </span>
    </li>
   </ul>
  </p>
  <p class="para">
   In version 1.2 the focus continues to be on supporting MySQL database clusters
   with asynchronous replication. The plugin tries to make using the cluster
   introducing a quality-of-service filter which applications can use to define
   what service quality they need from the cluster. Service levels provided are
   eventual consistency with optional maximum age/slave slag, session consistency
   and strong consistency.
  </p>
  <p class="para">
   Additionally the plugin can do client-side global transaction id injection
   to make manual master failover easier.
  </p>
  <p class="para">
   Feature changes
   <ul class="itemizedlist">
    <li class="listitem">
     <p class="para">
      Introduced quality-of-service (QoS) filter. Service levels provided by QoS filter:
      <ul class="itemizedlist">
       <li class="listitem">
         <span class="simpara">
          eventual consistency, optional option slave lag
         </span>
       </li>
       <li class="listitem">
         <span class="simpara">
          session consistency, optional option GTID
         </span>
       </li>
       <li class="listitem">
         <span class="simpara">
          strong consistency
         </span>
       </li>
      </ul>
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      Added the <span class="function"><a href="function.mysqlnd-ms-set-qos.html" class="function">mysqlnd_ms_set_qos()</a></span> function to set the
      required connection quality at runtime. The new constants related to
      <span class="function"><a href="function.mysqlnd-ms-set-qos.html" class="function">mysqlnd_ms_set_qos()</a></span> are:
      <ul class="itemizedlist">
       <li class="listitem">
        <span class="simpara">
         <strong><code>MYSQLND_MS_QOS_CONSISTENCY_STRONG</code></strong>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <strong><code>MYSQLND_MS_QOS_CONSISTENCY_SESSION</code></strong>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <strong><code>MYSQLND_MS_QOS_CONSISTENCY_EVENTUAL</code></strong>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <strong><code>MYSQLND_MS_QOS_OPTION_GTID</code></strong>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <strong><code>MYSQLND_MS_QOS_OPTION_AGE</code></strong>
        </span>
       </li>
      </ul>
     </p>
    </li>
    <li class="listitem">
     <p class="para">
      Added client-side global transaction id injection (GTID).
     </p>
    </li>
    <li class="listitem">
     <p class="para">
     New statistics related to GTID:
     <ul class="itemizedlist">
       <li class="listitem">
        <span class="simpara">
         <em>gtid_autocommit_injections_success</em>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <em>gtid_autocommit_injections_failure</em>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <em>gtid_commit_injections_success</em>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <em>gtid_commit_injections_failure</em>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <em>gtid_implicit_commit_injections_success</em>
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <em>gtid_implicit_commit_injections_failure</em>
        </span>
       </li>
      </ul>
     </p>
    </li>
    <li class="listitem">
      <p class="para">
       Added <span class="function"><a href="function.mysqlnd-ms-get-last-gtid.html" class="function">mysqlnd_ms_get_last_gtid()</a></span> to fetch the last
       global transaction id.
      </p>
    </li>
    <li class="listitem">
      <p class="para">
       Enabled support for multi master without slaves.
      </p>
    </li>
   </ul>
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-ms.changes-one-three.html">PECL/mysqlnd_ms 1.3 series</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqlnd-ms.changes-one-one.html">PECL/mysqlnd_ms 1.1 series</a></div>
 <div class="up"><a href="mysqlnd-ms.changes.html">Change History</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
